import java.util.Scanner;
public class string_reverse {
public static void main(String args[]){
	Scanner our_string = new Scanner(System.in);
	System.out.println("Hi " + System.getProperty("user.name") +  ".\nInput string now please");
	String blabla = our_string.nextLine();
	System.out.println("We have an input string = "+blabla);
	System.out.println("its length = "+blabla.length());
	int i;
	String blabla_reverse ="";
	for (i=0;i<=blabla.length()-1; i++){
		blabla_reverse=blabla_reverse+blabla.charAt(blabla.length()-1-i);
		}
	System.out.println(blabla_reverse);
}
}
